package Features;


public class FeatureCapitalization extends Feature{
	
	public FeatureCapitalization(String argumento) {
		activo = argumento.toLowerCase().contains("cap");
	}
	
	public String extractSentence(String sentence){
		String[] divisaoMaiusculas = sentence.split("[A-Z]");
		if(divisaoMaiusculas.length>2)
			return "1";
		return "0";
	}
	
}
